project(cam_cal)
cmake_minimum_required(VERSION 3.0)

set(CXX_STANDARD_REQUIRED 11)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

find_package(OpenCV 3.1 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(cam_cal cam_cal.cpp)
target_link_libraries(cam_cal ${OpenCV_LIBS})